package day14.pack2;

import java.util.HashMap;
public class TestHashMap {
    public static void main(String[] args) {
        HashMap<String, String> map = new HashMap<>();
        String value = map.put("nc", "南昌");
        System.out.println(value);
        map.put("nc", "英雄城");

        map.get("nc");


        System.out.println(value);
    }
}
